
#pragma once
#include <list>
#include "luaBind.h"

namespace mini
{
	extern std::string GetFileNameFromPathName(const char* szPathName);
	extern unsigned int GetRunStackDepth(lua_State* pState);
	extern int GetCurLine(lua_State* pState, unsigned int uLevel);
	extern bool PrintFrame(lua_State* pState, unsigned int uLevel, bool printInfo = false);
	extern std::string GetStactFrame(lua_State* pState, unsigned int uLevel);
	extern std::string PrintStack(lua_State* pState);
	extern bool DebugShowLine(const char* szFilePathName, int line, bool bIsCurLine);
	extern void Print_lua(lua_State* pL, const std::list<std::string>& listField);
	extern void createDebugStr(lua_State* pL);
}

